#include "Model.h"
#include "Parser.h"
#include "Filter.h"
#include "BasicTypes.h"

Model::Model()
{
	m_parser = new Parser();
	m_treeFormat = TF_Invalid;
}

Model::~Model()
{
	delete m_parser;
}

void Model::SetFilter(std::auto_ptr<IFilter> filter)
{
//	if (m_filter.get())
//		m_filter.release();
	m_filter = filter;
}